//
//  PlayVideoOperation.h
//  VMIX
//
//  Created by jeffs on 5/24/10.
//  Copyright 2010 Vmix Media, INC. All rights reserved.
//

#import <Foundation/Foundation.h>

@class VmixVideo;

@protocol PlayVideoOperationDelegate;

@interface PlayVideoOperation : NSOperation {
	
	id <PlayVideoOperationDelegate> delegate;
	NSMutableData *playData;
	NSString *playApi;
	NSURL *playUrl;
	
}

@property(nonatomic, retain) id <PlayVideoOperationDelegate> delegate;
@property(nonatomic, retain) NSMutableData *playData;
@property(nonatomic, retain) NSString *playApi;
@property(nonatomic, retain) NSURL *playUrl;

@end

//Define protocol to communicate with object delegate after operation runs.
@protocol PlayVideoOperationDelegate
- (void)didFinishParsingPlayData:(NSURL *) playUrl;
@end
